package com.un.ebs.sale.dto;

import com.un.ebs.core.validator.NotLessThanZero;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/8/19 12:26
 */
@Data
public class SaleDeliverNoteItemDto {

    @NotNull
    private String skuId;

    @NotLessThanZero(message = "发货数量不能为零。")
    private Double qty;

    private String remark;

    @NotNull
    private String inventoryNoteItemId;
}
